<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>天猫登录页</title>
    <!-- <link rel="stylesheet" href="./base.css" type="text/css" /> -->
    <style>
      .content {
        width: 100%;
        position: relative;
      }
      .login-bg {
        background-image: url(https://gw.alicdn.com/imgextra/i3/O1CN01iyYdem1GQd1yGgA0a_!!6000000000617-0-tps-2500-600.jpg);
        height: 600px;
        position: absolute;
        z-index: 9;
        top: 0;
        left: 0;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 50%;
        width: 100%;
      }
      .content-layout {
        width: 1200px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        height: 600px;
        z-index: 999;
        border: 1px solid red;
      }
      .login-box-wrap {
        position: absolute;
        top: 120px;
        right: 60px;
        width: 350px;
        height: 350px;
        padding: 25px 25px;
        background-color: #fff;
      }
      .login-box-wrap .login-tab {
        font-weight: 700;
        font-size: 0;
        margin-bottom: 20px;
      }
      .login-box-wrap .login-tab span {
        display: inline-block;
        font-size: 16px;
        padding-bottom: 5px;
        margin-right: 10px;
      }
      .login-box-wrap .login-tab span.current {
        border-bottom: 2px solid #000;
      }
      .input-wrap {
        height: 42px;
        width: 100%;
        margin-bottom: 20px;
        position: relative;
      }
      .input-wrap input.txt {
        width: 100%;
        height: 42px;
        box-sizing: border-box;
        outline: none;
        border: 1px solid #ddd;
        padding-left: 50px;
      }
      .input-wrap input.user-phone {
        padding-left: 120px;
      }
      .input-wrap input.txt:hover {
        border: 1px solid red;
      }
      .input-wrap i {
        display: block;
        position: absolute;
        top: 1px;
        left: 1px;
        width: 40px;
        height: 40px;
        background-color: #ddd;
        line-height: 40px;
        text-align: center;
        color: #fff;
        font-size: 24px;
        font-style: normal;
      }
      .icon-phone:before {
        content: "\E605";
      }
      .icon-code:before {
        content: "\E602";
      }
      .input-wrap span.send {
        display: block;
        position: absolute;
        right: 10px;
        bottom: 0;
        line-height: 40px;
        color: #6c6c6c;
        font-size: 12px;
      }
      .input-wrap .select-wrap {
        width: 65px;
        height: 40px;
        position: absolute;
        left: 40px;
        top: 1px;
        background-color: aqua;
      }
      .input-wrap .select-wrap select {
        width: 65px;
        height: 40px;
        outline: none;
        border: 0;
        color: rgba(0, 0, 0, 0);
      }
      .input-wrap .select-wrap select option {
        color: #000;
      }
      .input-wrap .select-wrap span {
        width: 65px;
        height: 40px;
        line-height: 40px;
        display: block;
        position: absolute;
        left: 10px;
        top: 0;
        font-size: 14px;
        /* background-color: red; */
        pointer-events: none;
      }
    </style>
  </head>
  <body>
    <div class="content">
      <div class="login-bg"></div>
      <div class="content-layout">
        <div class="login-box-wrap">
          <div class="login-tab">
            <span class="current">密码登录</span>
            <span>短线登录</span>
          </div>
          <div class="sms-login">
            <form action="">
              <div class="input-wrap">
                <input type="text" class="txt user-phone" placeholder="请输入手机号" />
                <i class="icon-phone"></i>
                <div class="select-wrap">
                  <span>+86</span>
                  <select name="" id="">
                    <option value="+86">+86 中国大陆</option>
                    <option value="+852">+852 中国香港</option>
                    <option value="+853">+853 中国澳门</option>
                    <option value="+886">+866 中国台湾</option>
                    <option value="+82">+82 韩国</option>
                  </select>
                </div>
              </div>
              <div class="input-wrap">
                <input type="text" class="txt" placeholder="请输入验证码" />
                <i class="icon-code"></i>
                <span class="send">发送验证码</span>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
